import { request } from '@/utils';
import { getRestBaseUrl } from '@/config';

// 导入
export const importGoods = (topChannelCode, taskDetails) =>
  request({
    url: `${getRestBaseUrl()}/iop/adjustService/batchSaveForExceptionGoods`,
    method: 'POST',
    data: { topChannelCode, taskDetails },
    timeout: 3 * 60 * 1000,
  });
